package _18_设计模式._2_结构型模式._4_装饰器;

public class BoldDecorator extends NodeDecorator{

    public BoldDecorator(TextNode target){
        super(target);
    }

    public String getText(){
        return "<b>" + target.getText() + "</b>";
    }
}
